package com.huawei.appgallery.microsearch.contentprovider;

import android.content.ContentProvider;
import android.content.ContentValues;
import android.database.Cursor;
import android.net.Uri;
import androidx.annotation.NonNull;
import o.cme;
import o.cmh;
import o.cmr;

public class MicroSearchProvider extends ContentProvider {
    public boolean onCreate() {
        if (getContext() != null) {
            cme.ॱ(getContext());
        }
        return false;
    }

    public Cursor query(@NonNull Uri uri, String[] strArr, String str, String[] strArr2, String str2) {
        if (cme.ˋ() == null) {
            return null;
        }
        return cmr.ॱ().ॱ(uri, strArr, str, strArr2, str2);
    }

    public String getType(@NonNull Uri uri) {
        cmh.ˎ.ˎ("MicroSearchProvider", "getType ");
        return null;
    }

    public Uri insert(@NonNull Uri uri, ContentValues contentValues) {
        cmh.ˎ.ˎ("MicroSearchProvider", "insert ");
        return null;
    }

    public int delete(@NonNull Uri uri, String str, String[] strArr) {
        cmh.ˎ.ˎ("MicroSearchProvider", "delete ");
        return 0;
    }

    public int update(@NonNull Uri uri, ContentValues contentValues, String str, String[] strArr) {
        cmh.ˎ.ˎ("MicroSearchProvider", "update ");
        return 0;
    }
}
